home *** CD-ROM | disk | FTP | other *** search
-
-
-
- 1
-
-
-
-
-
-
- TP RAT -- TURBO PASCAL 5.0 MOUSE DRIVER
-
- I. I N T R O D U C T I O N:
-
- TP Rat is a Microsoft-compatible mouse driver to
- provide mouse support for Borland's Turbo Pascal 5.0. The
- new Turbo editor is nicer than the one in Turbo Pascal 3.0
- in that there are new pull-down menus, however, you are
- still required to know the WordStar commands for such tasks
- as moving blocks of text. If you can't rattle off the fifty
- or so WordStar text editor commands off the top of your
- head, then this program is for you. Now your Microsoft mouse
- (or compatible) can have cursor support, context sensitive
- interaction, and added pull-down menus so that practically
- all your choices are a mouse click away. This version
- accomodates the new commands available in Turbo Pascal 5.0.
- This program is designed to be intuitive, so you may
- skip the directions and figure out how the mouse works as
- you go along. If you are the more patient type, follow the
- below directions to get the most out of this mouse driver.
- Users of TP Rat for Turbo Pascal 4.0 can skip down to the
- "New Changes" section.
-
- II. I N S T A L L A T I O N:
-
- Before you begin, familiarize yourself with the below
- files:
-
- FILE FUNCTION
-
- tprat.mnu Turbo Pascal 5.0 mouse driver (color)
- tpmono.mnu Turbo Pascal 5.0 mouse driver (mono)
- tprat.doc This file
- tprat.def Source code for driver
- menu.com Runtime file necessary to load driver
-
- At this point the installation will depend on your system:
-
- a) CGA, EGA or VGA systems: At the DOS prompt type the
- command:
-
- menu tprat
-
- This should load the driver. So that you don't have to type
- this every time you run Turbo Pascal, include this command
- in your batch file. To unload the driver type "menu off" at
- the DOS prompt.
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
-
-
- b) Monochromatic systems: At the DOS prompt type the
- command:
-
- menu tpmono
-
- This should load the monochromatic version of the driver.
- So that you don't have to type this every time you run Turbo
- Pascal, include this command in your batch file. To unload
- the driver type "menu off" at the DOS prompt.
-
- III. D I R E C T I O N S F O R U S E:
-
- The logic of the mouse is dependent upon which button
- is pushed -- right, left or both.
-
- LEFT BUTTON:
-
- Edit mode: Clicking this button, while in the normal
- or "Edit" mode of the Turbo editor, will invoke the Turbo
- command line at the top of the screen. Then move the mouse
- to select the desired choice. Now click EITHER mouse button
- to execute this choice. In some cases this will pull down
- another menu from Turbo's editor. When in one of these pull
- down menus, again just move the mouse to select your choice
- and click EITHER mouse button. Again this may even take you
- into a second pull-down menu. Again make your selection
- just like before. You may get out of any menu by clicking
- BOTH mouse buttons (at the same time).
-
- RIGHT BUTTON:
-
- Edit mode: Clicking this button, while in the normal
- or "Edit" mode of the Turbo editor, will invoke a new
- command line across the top of the screen. It should have
- the following choices:
-
- Block Find and Replace Miscellaneous
-
- Move the mouse to position the cursor over one of these
- choices. Click EITHER mouse button to invoke your choice.
- If you get here by mistake, just push BOTH mouse buttons to
- get out of this menu.
- Each command will pull down a menu of choices that
- relates to the choice you selected. Each is essentially
- self-explanatory, but refer to the Turbo Pascal 5.0 manual,
- p. 242, if you need further explanation. Some commands
- require you to enter a number or symbol from the keyboard to
- complete the command. Again, if you want out of any menu
- just push BOTH mouse buttons to get out.
-
-
-
-
-
-
-
-
-
-
- 3
-
-
-
-
-
-
-
- BOTH BUTTONS:
-
- In "Edit" mode, pressing both buttons simultaneously
- will generate the "Escape" code (27). This key can be used
- to abort many of the Turbo editors functions.
- Pressing both buttons in any menu will cause you to
- exit that menu.
-
- RIGHT or LEFT BUTTON:
-
- There are times when either right or left button
- generates the same consequence.
- During a "Find" or "Find and Replace" operation, when
- the "Options" prompt appears on screen line #2, pressing
- EITHER button will invoke a "Options" submenu to remind you
- of the possible options available.
- Also during a "Find and Replace" operation, when you
- are prompted to respond "Yes" or "No", pressing EITHER
- button will invoke a "Yes No" submenu to allow you to enter
- your response from the mouse.
-
- IV. N E W C H A N G E S
-
- The following changes are made for this version:
-
- There are now two different "autoexec" macros at start
- up. Pressing the left button at start up will execute a
- "Zoom" and call up *.pas files from the default
- subdirectory. Pressing the right button will do the same
- except with the "Zoom" function.
- After a Bock Move or Copy command, the block will be
- unmarked. This reflects my own preference.
- New commands are added to the Miscellaneous Menu.
- These are essentially those listed on p. 242 of the Turbo
- manual.
-
- V. S U M M A R Y:
-
- Use of this mouse is self-explanatory. In sum,
- pressing the left button will call up Turbo's menu from
- which you may enter your choice. Pressing the right button
- will call up Turbo editor commands that previously you had
- to memorize. Pressing both buttons will exit any menu.
-
- VI. D I S C L A I M E R
-
- This program is intended solely for private,
- noncomercial use. You are encouraged to copy and share it
-
-
-
-
-
-
-
-
-
-
- 4
-
-
-
-
-
-
- as long as the archive file is always distributed intact.
- While all reasonable effort has been made to correct any
- defects in this mouse driver, you use it completely AT YOUR
- OWN RISK. The author expressly refuses any guarantee as to
- the fitness of this product. You are solely responsible for
- ANY and ALL damages that you or others incur in the use or
- misuse of this program. If you have any reservations to
- this, you are expressly forbidden from using this product.
-
- I welcome any comments, suggestions, and questions about
- this mouse driver andpointing out errors that invariably
- creep it.
-
- J. A. Smart 10-17-88 CompuServe EMAIL 73307,2662
- WordStar, Leading Edge, Borland, Microsoft, and so forth
- retain the trademarksof their respective companies. This
- driver is not associated with any trademark, registered or
- otherwise.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-